Skip to content

[TASK] Remove CSH generation, use TCA description field instead#818

Merged
PKuhlmay merged 1 commit intomasterfrom
feature/issue-647-remove-csh-generation
Apr 15, 2026
Merged

[TASK] Remove CSH generation, use TCA description field instead#818
PKuhlmay merged 1 commit intomasterfrom
feature/issue-647-remove-csh-generation

Conversation

@PKuhlmay
Copy link
Copy Markdown
Collaborator

@PKuhlmay PKuhlmay commented Apr 12, 2026

Summary

  • Removes locallang_csh_*.xlf generation from FileGenerator — CSH was removed in TYPO3 v12
  • Removes prepareLabelArrayForContextHelp() from LocalizationService (now unused)
  • Extends RoundTrip cleanup to delete legacy CSH files (.xml and .xlf) when a domain object is removed
  • Deletes 15 locallang_csh_*.xlf fixture files from test extensions

Field descriptions are already written to locallang_db.xlf via prepareLabelArray() and the TCA template (PropertiesDefinition.phpt) already references them via the description key — CSH files were fully redundant.

Closes #647

Test plan

  • PHPStan: no errors
  • Unit tests: green
  • Functional tests: green (CompatibilityTest, AstrophotographyCompatibilityTest)
  • Generate a new extension with property descriptions → verify descriptions appear in TCA via locallang_db.xlf, no CSH files generated

🤖 Generated with Claude Code

@github-actions github-actions bot added enhancement New feature or request maintenance labels Apr 12, 2026
CSH was removed in TYPO3 v12. The TCA description key in locallang_db.xlf
already serves as the replacement — descriptions are written there via
prepareLabelArray() and referenced in PropertiesDefinition.phpt.

- Remove locallang_csh_*.xlf generation loop from FileGenerator
- Remove prepareLabelArrayForContextHelp() from LocalizationService
- Extend RoundTrip cleanup to also remove legacy .xlf CSH files
- Delete 15 locallang_csh_*.xlf fixture files

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@PKuhlmay PKuhlmay force-pushed the feature/issue-647-remove-csh-generation branch from bad41ac to 4b0dbcc Compare April 15, 2026 09:15
@PKuhlmay PKuhlmay merged commit c26fe9f into master Apr 15, 2026
24 checks passed
@PKuhlmay PKuhlmay deleted the feature/issue-647-remove-csh-generation branch April 15, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TYPO3 12] Remove CSH generation OR move to description

1 participant